From: Peter Michael Green Date: Thu, 15 Feb 2018 18:08:18 +0000 (+0000) Subject: Apply parts of previous usbip format overflow patch that still X-Git-Tag: archive/raspbian/4.9.80-2+rpi1~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7bba4828900638795851a595ce3b5ef442630417;p=linux-4.9.git Apply parts of previous usbip format overflow patch that still apply. --- diff --git a/tools/usb/usbip/libsrc/usbip_host_common.c b/tools/usb/usbip/libsrc/usbip_host_common.c index 6ff7b601f854..7cc43384f4d1 100644 --- a/tools/usb/usbip/libsrc/usbip_host_common.c +++ b/tools/usb/usbip/libsrc/usbip_host_common.c @@ -21,6 +21,9 @@ * along with this program. If not, see . */ +#pragma GCC diagnostic warning "-Wpragmas" +#pragma GCC diagnostic warning "-Wformat-truncation" + #include #include #include